<template>
  <view class="mt-empty-view flex flex-col items-center justify-center flex-1">
    <image class="w-508rpx h-300rpx" :style="imageStyle" :src="url"></image>
    <slot>
      <view class="text-#727687 text-28rpx">暂无数据哦~</view>
    </slot>
  </view>
</template>

<script setup>
const prop = defineProps({
  url: {
    type: String,
    default: 'https://mingtu-resources.oss-cn-shenzhen.aliyuncs.com/mtym-app-assets/no-data.png'
  },
  imageStyle: {
    type: Object,
    default: () => {
      return {};
    }
  }
});
</script>

<style lang="scss" scoped></style>
